import request from "@/utils/request";

export default {
  // 更具用户id获取描述
  getSummrizeById(todoId) {
    return request({
      url: `/summarize/${todoId}`,
      method: "get",
    });
  },

  // 跟新描述星系
  updateSummarize(summarize) {
    return request({
      url: `/summarize/updateSummarize`,
      method: "put",
      data: summarize,
    });
  },
};
